package com.ruoyi.wareManagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 待检库存查询对象 inventory_query_checked
 * 
 * @author admin
 * @date 2024-06-28
 */
public class InventoryQueryChecked extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 待检库存查询id */
    private Long checkedId;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 库位编号 */
    @Excel(name = "库位编号")
    private String materialNumber;

    /** 库区编号 */
    @Excel(name = "库区编号")
    private String reservoirNumber;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseNumber;

    /** 批次 */
    @Excel(name = "批次")
    private String batchNumber;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long nventoryQuantity;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 库存状态 */
    @Excel(name = "库存状态")
    private String stockStatus;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionDate;

    /** 有效天数 */
    @Excel(name = "有效天数")
    private Long validDays;

    /** 有效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validity;

    public void setCheckedId(Long checkedId) 
    {
        this.checkedId = checkedId;
    }

    public Long getCheckedId() 
    {
        return checkedId;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setMaterialCode(String materialCode) 
    {
        this.materialCode = materialCode;
    }

    public String getMaterialCode() 
    {
        return materialCode;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setMaterialNumber(String materialNumber) 
    {
        this.materialNumber = materialNumber;
    }

    public String getMaterialNumber() 
    {
        return materialNumber;
    }
    public void setReservoirNumber(String reservoirNumber) 
    {
        this.reservoirNumber = reservoirNumber;
    }

    public String getReservoirNumber() 
    {
        return reservoirNumber;
    }
    public void setWarehouseNumber(String warehouseNumber) 
    {
        this.warehouseNumber = warehouseNumber;
    }

    public String getWarehouseNumber() 
    {
        return warehouseNumber;
    }
    public void setBatchNumber(String batchNumber) 
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber() 
    {
        return batchNumber;
    }
    public void setNventoryQuantity(Long nventoryQuantity) 
    {
        this.nventoryQuantity = nventoryQuantity;
    }

    public Long getNventoryQuantity() 
    {
        return nventoryQuantity;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setStockStatus(String stockStatus) 
    {
        this.stockStatus = stockStatus;
    }

    public String getStockStatus() 
    {
        return stockStatus;
    }
    public void setProductionDate(Date productionDate) 
    {
        this.productionDate = productionDate;
    }

    public Date getProductionDate() 
    {
        return productionDate;
    }
    public void setValidDays(Long validDays) 
    {
        this.validDays = validDays;
    }

    public Long getValidDays() 
    {
        return validDays;
    }
    public void setValidity(Date validity) 
    {
        this.validity = validity;
    }

    public Date getValidity() 
    {
        return validity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkedId", getCheckedId())
            .append("number", getNumber())
            .append("materialCode", getMaterialCode())
            .append("materialName", getMaterialName())
            .append("materialNumber", getMaterialNumber())
            .append("reservoirNumber", getReservoirNumber())
            .append("warehouseNumber", getWarehouseNumber())
            .append("batchNumber", getBatchNumber())
            .append("nventoryQuantity", getNventoryQuantity())
            .append("unit", getUnit())
            .append("stockStatus", getStockStatus())
            .append("productionDate", getProductionDate())
            .append("validDays", getValidDays())
            .append("validity", getValidity())
            .toString();
    }
}
